package com.xxl.job.core.commons.constant;

/**
 * @autor xuyue
 * @email xuyue@cetcbigdata.com
 * @date 2021-4-20 11:18
 */
public class PluginConstant {
    /**
     * DataX读解析器
     */
    public static final String PLUGIN_TYPE_READER = "reader";
    /**
     * DataX写解析器
     */
    public static final String PLUGIN_TYPE_WRITER = "writer";

    /**
     * 解析器文件容量最大值，单位MB
     * 100MB
     */
    public static final long PLUGIN_FILE_MAX_MB = 100;

    /**
     * 解析器文件容量最大值，单位B
     * 100MB
     */
    public static final long PLUGIN_FILE_MAX_B = PLUGIN_FILE_MAX_MB * 1024 * 1024;
}
